package top.infopub.model.bpa;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BudgetBatchExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BudgetBatchExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.isEmpty()) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria();
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return !criteria.isEmpty();
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value) {
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2) {
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSguidIsNull() {
            addCriterion("SGUID is null");
            return (Criteria) this;
        }

        public Criteria andSguidIsNotNull() {
            addCriterion("SGUID is not null");
            return (Criteria) this;
        }

        public Criteria andSguidEqualTo(String value) {
            addCriterion("SGUID =", value);
            return (Criteria) this;
        }

        public Criteria andSguidNotEqualTo(String value) {
            addCriterion("SGUID <>", value);
            return (Criteria) this;
        }

        public Criteria andSguidGreaterThan(String value) {
            addCriterion("SGUID >", value);
            return (Criteria) this;
        }

        public Criteria andSguidGreaterThanOrEqualTo(String value) {
            addCriterion("SGUID >=", value);
            return (Criteria) this;
        }

        public Criteria andSguidLessThan(String value) {
            addCriterion("SGUID <", value);
            return (Criteria) this;
        }

        public Criteria andSguidLessThanOrEqualTo(String value) {
            addCriterion("SGUID <=", value);
            return (Criteria) this;
        }

        public Criteria andSguidLike(String value) {
            addCriterion("SGUID like", value);
            return (Criteria) this;
        }

        public Criteria andSguidNotLike(String value) {
            addCriterion("SGUID not like", value);
            return (Criteria) this;
        }

        public Criteria andSguidIn(List<String> values) {
            addCriterion("SGUID in", values);
            return (Criteria) this;
        }

        public Criteria andSguidNotIn(List<String> values) {
            addCriterion("SGUID not in", values);
            return (Criteria) this;
        }

        public Criteria andSguidBetween(String value1, String value2) {
            addCriterion("SGUID between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSguidNotBetween(String value1, String value2) {
            addCriterion("SGUID not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andCodesIsNull() {
            addCriterion("CODES is null");
            return (Criteria) this;
        }

        public Criteria andCodesIsNotNull() {
            addCriterion("CODES is not null");
            return (Criteria) this;
        }

        public Criteria andCodesEqualTo(String value) {
            addCriterion("CODES =", value);
            return (Criteria) this;
        }

        public Criteria andCodesNotEqualTo(String value) {
            addCriterion("CODES <>", value);
            return (Criteria) this;
        }

        public Criteria andCodesGreaterThan(String value) {
            addCriterion("CODES >", value);
            return (Criteria) this;
        }

        public Criteria andCodesGreaterThanOrEqualTo(String value) {
            addCriterion("CODES >=", value);
            return (Criteria) this;
        }

        public Criteria andCodesLessThan(String value) {
            addCriterion("CODES <", value);
            return (Criteria) this;
        }

        public Criteria andCodesLessThanOrEqualTo(String value) {
            addCriterion("CODES <=", value);
            return (Criteria) this;
        }

        public Criteria andCodesLike(String value) {
            addCriterion("CODES like", value);
            return (Criteria) this;
        }

        public Criteria andCodesNotLike(String value) {
            addCriterion("CODES not like", value);
            return (Criteria) this;
        }

        public Criteria andCodesIn(List<String> values) {
            addCriterion("CODES in", values);
            return (Criteria) this;
        }

        public Criteria andCodesNotIn(List<String> values) {
            addCriterion("CODES not in", values);
            return (Criteria) this;
        }

        public Criteria andCodesBetween(String value1, String value2) {
            addCriterion("CODES between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andCodesNotBetween(String value1, String value2) {
            addCriterion("CODES not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andProCodeIsNull() {
            addCriterion("PRO_CODE is null");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNotNull() {
            addCriterion("PRO_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andProCodeEqualTo(String value) {
            addCriterion("PRO_CODE =", value);
            return (Criteria) this;
        }

        public Criteria andProCodeNotEqualTo(String value) {
            addCriterion("PRO_CODE <>", value);
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThan(String value) {
            addCriterion("PRO_CODE >", value);
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("PRO_CODE >=", value);
            return (Criteria) this;
        }

        public Criteria andProCodeLessThan(String value) {
            addCriterion("PRO_CODE <", value);
            return (Criteria) this;
        }

        public Criteria andProCodeLessThanOrEqualTo(String value) {
            addCriterion("PRO_CODE <=", value);
            return (Criteria) this;
        }

        public Criteria andProCodeLike(String value) {
            addCriterion("PRO_CODE like", value);
            return (Criteria) this;
        }

        public Criteria andProCodeNotLike(String value) {
            addCriterion("PRO_CODE not like", value);
            return (Criteria) this;
        }

        public Criteria andProCodeIn(List<String> values) {
            addCriterion("PRO_CODE in", values);
            return (Criteria) this;
        }

        public Criteria andProCodeNotIn(List<String> values) {
            addCriterion("PRO_CODE not in", values);
            return (Criteria) this;
        }

        public Criteria andProCodeBetween(String value1, String value2) {
            addCriterion("PRO_CODE between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andProCodeNotBetween(String value1, String value2) {
            addCriterion("PRO_CODE not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountIsNull() {
            addCriterion("SUM_COT_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andSumCotAmountIsNotNull() {
            addCriterion("SUM_COT_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andSumCotAmountEqualTo(BigDecimal value) {
            addCriterion("SUM_COT_AMOUNT =", value);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountNotEqualTo(BigDecimal value) {
            addCriterion("SUM_COT_AMOUNT <>", value);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountGreaterThan(BigDecimal value) {
            addCriterion("SUM_COT_AMOUNT >", value);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SUM_COT_AMOUNT >=", value);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountLessThan(BigDecimal value) {
            addCriterion("SUM_COT_AMOUNT <", value);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SUM_COT_AMOUNT <=", value);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountIn(List<BigDecimal> values) {
            addCriterion("SUM_COT_AMOUNT in", values);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountNotIn(List<BigDecimal> values) {
            addCriterion("SUM_COT_AMOUNT not in", values);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SUM_COT_AMOUNT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSumCotAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SUM_COT_AMOUNT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountIsNull() {
            addCriterion("SUM_BUDGET_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountIsNotNull() {
            addCriterion("SUM_BUDGET_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountEqualTo(BigDecimal value) {
            addCriterion("SUM_BUDGET_AMOUNT =", value);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountNotEqualTo(BigDecimal value) {
            addCriterion("SUM_BUDGET_AMOUNT <>", value);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountGreaterThan(BigDecimal value) {
            addCriterion("SUM_BUDGET_AMOUNT >", value);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SUM_BUDGET_AMOUNT >=", value);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountLessThan(BigDecimal value) {
            addCriterion("SUM_BUDGET_AMOUNT <", value);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SUM_BUDGET_AMOUNT <=", value);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountIn(List<BigDecimal> values) {
            addCriterion("SUM_BUDGET_AMOUNT in", values);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountNotIn(List<BigDecimal> values) {
            addCriterion("SUM_BUDGET_AMOUNT not in", values);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SUM_BUDGET_AMOUNT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSumBudgetAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SUM_BUDGET_AMOUNT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountIsNull() {
            addCriterion("SUM_ADJUST_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountIsNotNull() {
            addCriterion("SUM_ADJUST_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountEqualTo(BigDecimal value) {
            addCriterion("SUM_ADJUST_AMOUNT =", value);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountNotEqualTo(BigDecimal value) {
            addCriterion("SUM_ADJUST_AMOUNT <>", value);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountGreaterThan(BigDecimal value) {
            addCriterion("SUM_ADJUST_AMOUNT >", value);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SUM_ADJUST_AMOUNT >=", value);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountLessThan(BigDecimal value) {
            addCriterion("SUM_ADJUST_AMOUNT <", value);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SUM_ADJUST_AMOUNT <=", value);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountIn(List<BigDecimal> values) {
            addCriterion("SUM_ADJUST_AMOUNT in", values);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountNotIn(List<BigDecimal> values) {
            addCriterion("SUM_ADJUST_AMOUNT not in", values);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SUM_ADJUST_AMOUNT between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andSumAdjustAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SUM_ADJUST_AMOUNT not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andWriteMemoIsNull() {
            addCriterion("WRITE_MEMO is null");
            return (Criteria) this;
        }

        public Criteria andWriteMemoIsNotNull() {
            addCriterion("WRITE_MEMO is not null");
            return (Criteria) this;
        }

        public Criteria andWriteMemoEqualTo(String value) {
            addCriterion("WRITE_MEMO =", value);
            return (Criteria) this;
        }

        public Criteria andWriteMemoNotEqualTo(String value) {
            addCriterion("WRITE_MEMO <>", value);
            return (Criteria) this;
        }

        public Criteria andWriteMemoGreaterThan(String value) {
            addCriterion("WRITE_MEMO >", value);
            return (Criteria) this;
        }

        public Criteria andWriteMemoGreaterThanOrEqualTo(String value) {
            addCriterion("WRITE_MEMO >=", value);
            return (Criteria) this;
        }

        public Criteria andWriteMemoLessThan(String value) {
            addCriterion("WRITE_MEMO <", value);
            return (Criteria) this;
        }

        public Criteria andWriteMemoLessThanOrEqualTo(String value) {
            addCriterion("WRITE_MEMO <=", value);
            return (Criteria) this;
        }

        public Criteria andWriteMemoLike(String value) {
            addCriterion("WRITE_MEMO like", value);
            return (Criteria) this;
        }

        public Criteria andWriteMemoNotLike(String value) {
            addCriterion("WRITE_MEMO not like", value);
            return (Criteria) this;
        }

        public Criteria andWriteMemoIn(List<String> values) {
            addCriterion("WRITE_MEMO in", values);
            return (Criteria) this;
        }

        public Criteria andWriteMemoNotIn(List<String> values) {
            addCriterion("WRITE_MEMO not in", values);
            return (Criteria) this;
        }

        public Criteria andWriteMemoBetween(String value1, String value2) {
            addCriterion("WRITE_MEMO between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andWriteMemoNotBetween(String value1, String value2) {
            addCriterion("WRITE_MEMO not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("MEMO is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("MEMO is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("MEMO =", value);
            return (Criteria) this;
        }

        public Criteria andMemoNotEqualTo(String value) {
            addCriterion("MEMO <>", value);
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("MEMO >", value);
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThanOrEqualTo(String value) {
            addCriterion("MEMO >=", value);
            return (Criteria) this;
        }

        public Criteria andMemoLessThan(String value) {
            addCriterion("MEMO <", value);
            return (Criteria) this;
        }

        public Criteria andMemoLessThanOrEqualTo(String value) {
            addCriterion("MEMO <=", value);
            return (Criteria) this;
        }

        public Criteria andMemoLike(String value) {
            addCriterion("MEMO like", value);
            return (Criteria) this;
        }

        public Criteria andMemoNotLike(String value) {
            addCriterion("MEMO not like", value);
            return (Criteria) this;
        }

        public Criteria andMemoIn(List<String> values) {
            addCriterion("MEMO in", values);
            return (Criteria) this;
        }

        public Criteria andMemoNotIn(List<String> values) {
            addCriterion("MEMO not in", values);
            return (Criteria) this;
        }

        public Criteria andMemoBetween(String value1, String value2) {
            addCriterion("MEMO between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andMemoNotBetween(String value1, String value2) {
            addCriterion("MEMO not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andAddByIsNull() {
            addCriterion("ADD_BY is null");
            return (Criteria) this;
        }

        public Criteria andAddByIsNotNull() {
            addCriterion("ADD_BY is not null");
            return (Criteria) this;
        }

        public Criteria andAddByEqualTo(String value) {
            addCriterion("ADD_BY =", value);
            return (Criteria) this;
        }

        public Criteria andAddByNotEqualTo(String value) {
            addCriterion("ADD_BY <>", value);
            return (Criteria) this;
        }

        public Criteria andAddByGreaterThan(String value) {
            addCriterion("ADD_BY >", value);
            return (Criteria) this;
        }

        public Criteria andAddByGreaterThanOrEqualTo(String value) {
            addCriterion("ADD_BY >=", value);
            return (Criteria) this;
        }

        public Criteria andAddByLessThan(String value) {
            addCriterion("ADD_BY <", value);
            return (Criteria) this;
        }

        public Criteria andAddByLessThanOrEqualTo(String value) {
            addCriterion("ADD_BY <=", value);
            return (Criteria) this;
        }

        public Criteria andAddByLike(String value) {
            addCriterion("ADD_BY like", value);
            return (Criteria) this;
        }

        public Criteria andAddByNotLike(String value) {
            addCriterion("ADD_BY not like", value);
            return (Criteria) this;
        }

        public Criteria andAddByIn(List<String> values) {
            addCriterion("ADD_BY in", values);
            return (Criteria) this;
        }

        public Criteria andAddByNotIn(List<String> values) {
            addCriterion("ADD_BY not in", values);
            return (Criteria) this;
        }

        public Criteria andAddByBetween(String value1, String value2) {
            addCriterion("ADD_BY between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andAddByNotBetween(String value1, String value2) {
            addCriterion("ADD_BY not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("ADD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("ADD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("ADD_TIME =", value);
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("ADD_TIME <>", value);
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("ADD_TIME >", value);
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ADD_TIME >=", value);
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("ADD_TIME <", value);
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("ADD_TIME <=", value);
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("ADD_TIME in", values);
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("ADD_TIME not in", values);
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("ADD_TIME between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("ADD_TIME not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andUptByIsNull() {
            addCriterion("UPT_BY is null");
            return (Criteria) this;
        }

        public Criteria andUptByIsNotNull() {
            addCriterion("UPT_BY is not null");
            return (Criteria) this;
        }

        public Criteria andUptByEqualTo(String value) {
            addCriterion("UPT_BY =", value);
            return (Criteria) this;
        }

        public Criteria andUptByNotEqualTo(String value) {
            addCriterion("UPT_BY <>", value);
            return (Criteria) this;
        }

        public Criteria andUptByGreaterThan(String value) {
            addCriterion("UPT_BY >", value);
            return (Criteria) this;
        }

        public Criteria andUptByGreaterThanOrEqualTo(String value) {
            addCriterion("UPT_BY >=", value);
            return (Criteria) this;
        }

        public Criteria andUptByLessThan(String value) {
            addCriterion("UPT_BY <", value);
            return (Criteria) this;
        }

        public Criteria andUptByLessThanOrEqualTo(String value) {
            addCriterion("UPT_BY <=", value);
            return (Criteria) this;
        }

        public Criteria andUptByLike(String value) {
            addCriterion("UPT_BY like", value);
            return (Criteria) this;
        }

        public Criteria andUptByNotLike(String value) {
            addCriterion("UPT_BY not like", value);
            return (Criteria) this;
        }

        public Criteria andUptByIn(List<String> values) {
            addCriterion("UPT_BY in", values);
            return (Criteria) this;
        }

        public Criteria andUptByNotIn(List<String> values) {
            addCriterion("UPT_BY not in", values);
            return (Criteria) this;
        }

        public Criteria andUptByBetween(String value1, String value2) {
            addCriterion("UPT_BY between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andUptByNotBetween(String value1, String value2) {
            addCriterion("UPT_BY not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andUptTimeIsNull() {
            addCriterion("UPT_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUptTimeIsNotNull() {
            addCriterion("UPT_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUptTimeEqualTo(Date value) {
            addCriterion("UPT_TIME =", value);
            return (Criteria) this;
        }

        public Criteria andUptTimeNotEqualTo(Date value) {
            addCriterion("UPT_TIME <>", value);
            return (Criteria) this;
        }

        public Criteria andUptTimeGreaterThan(Date value) {
            addCriterion("UPT_TIME >", value);
            return (Criteria) this;
        }

        public Criteria andUptTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPT_TIME >=", value);
            return (Criteria) this;
        }

        public Criteria andUptTimeLessThan(Date value) {
            addCriterion("UPT_TIME <", value);
            return (Criteria) this;
        }

        public Criteria andUptTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPT_TIME <=", value);
            return (Criteria) this;
        }

        public Criteria andUptTimeIn(List<Date> values) {
            addCriterion("UPT_TIME in", values);
            return (Criteria) this;
        }

        public Criteria andUptTimeNotIn(List<Date> values) {
            addCriterion("UPT_TIME not in", values);
            return (Criteria) this;
        }

        public Criteria andUptTimeBetween(Date value1, Date value2) {
            addCriterion("UPT_TIME between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andUptTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPT_TIME not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andProcessStatusIsNull() {
            addCriterion("PROCESS_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andProcessStatusIsNotNull() {
            addCriterion("PROCESS_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andProcessStatusEqualTo(String value) {
            addCriterion("PROCESS_STATUS =", value);
            return (Criteria) this;
        }

        public Criteria andProcessStatusNotEqualTo(String value) {
            addCriterion("PROCESS_STATUS <>", value);
            return (Criteria) this;
        }

        public Criteria andProcessStatusGreaterThan(String value) {
            addCriterion("PROCESS_STATUS >", value);
            return (Criteria) this;
        }

        public Criteria andProcessStatusGreaterThanOrEqualTo(String value) {
            addCriterion("PROCESS_STATUS >=", value);
            return (Criteria) this;
        }

        public Criteria andProcessStatusLessThan(String value) {
            addCriterion("PROCESS_STATUS <", value);
            return (Criteria) this;
        }

        public Criteria andProcessStatusLessThanOrEqualTo(String value) {
            addCriterion("PROCESS_STATUS <=", value);
            return (Criteria) this;
        }

        public Criteria andProcessStatusLike(String value) {
            addCriterion("PROCESS_STATUS like", value);
            return (Criteria) this;
        }

        public Criteria andProcessStatusNotLike(String value) {
            addCriterion("PROCESS_STATUS not like", value);
            return (Criteria) this;
        }

        public Criteria andProcessStatusIn(List<String> values) {
            addCriterion("PROCESS_STATUS in", values);
            return (Criteria) this;
        }

        public Criteria andProcessStatusNotIn(List<String> values) {
            addCriterion("PROCESS_STATUS not in", values);
            return (Criteria) this;
        }

        public Criteria andProcessStatusBetween(String value1, String value2) {
            addCriterion("PROCESS_STATUS between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andProcessStatusNotBetween(String value1, String value2) {
            addCriterion("PROCESS_STATUS not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andProcessIdIsNull() {
            addCriterion("PROCESS_ID is null");
            return (Criteria) this;
        }

        public Criteria andProcessIdIsNotNull() {
            addCriterion("PROCESS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andProcessIdEqualTo(String value) {
            addCriterion("PROCESS_ID =", value);
            return (Criteria) this;
        }

        public Criteria andProcessIdNotEqualTo(String value) {
            addCriterion("PROCESS_ID <>", value);
            return (Criteria) this;
        }

        public Criteria andProcessIdGreaterThan(String value) {
            addCriterion("PROCESS_ID >", value);
            return (Criteria) this;
        }

        public Criteria andProcessIdGreaterThanOrEqualTo(String value) {
            addCriterion("PROCESS_ID >=", value);
            return (Criteria) this;
        }

        public Criteria andProcessIdLessThan(String value) {
            addCriterion("PROCESS_ID <", value);
            return (Criteria) this;
        }

        public Criteria andProcessIdLessThanOrEqualTo(String value) {
            addCriterion("PROCESS_ID <=", value);
            return (Criteria) this;
        }

        public Criteria andProcessIdLike(String value) {
            addCriterion("PROCESS_ID like", value);
            return (Criteria) this;
        }

        public Criteria andProcessIdNotLike(String value) {
            addCriterion("PROCESS_ID not like", value);
            return (Criteria) this;
        }

        public Criteria andProcessIdIn(List<String> values) {
            addCriterion("PROCESS_ID in", values);
            return (Criteria) this;
        }

        public Criteria andProcessIdNotIn(List<String> values) {
            addCriterion("PROCESS_ID not in", values);
            return (Criteria) this;
        }

        public Criteria andProcessIdBetween(String value1, String value2) {
            addCriterion("PROCESS_ID between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andProcessIdNotBetween(String value1, String value2) {
            addCriterion("PROCESS_ID not between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andOaIdIsNull() {
            addCriterion("OA_ID is null");
            return (Criteria) this;
        }

        public Criteria andOaIdIsNotNull() {
            addCriterion("OA_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOaIdEqualTo(String value) {
            addCriterion("OA_ID =", value);
            return (Criteria) this;
        }

        public Criteria andOaIdNotEqualTo(String value) {
            addCriterion("OA_ID <>", value);
            return (Criteria) this;
        }

        public Criteria andOaIdGreaterThan(String value) {
            addCriterion("OA_ID >", value);
            return (Criteria) this;
        }

        public Criteria andOaIdGreaterThanOrEqualTo(String value) {
            addCriterion("OA_ID >=", value);
            return (Criteria) this;
        }

        public Criteria andOaIdLessThan(String value) {
            addCriterion("OA_ID <", value);
            return (Criteria) this;
        }

        public Criteria andOaIdLessThanOrEqualTo(String value) {
            addCriterion("OA_ID <=", value);
            return (Criteria) this;
        }

        public Criteria andOaIdLike(String value) {
            addCriterion("OA_ID like", value);
            return (Criteria) this;
        }

        public Criteria andOaIdNotLike(String value) {
            addCriterion("OA_ID not like", value);
            return (Criteria) this;
        }

        public Criteria andOaIdIn(List<String> values) {
            addCriterion("OA_ID in", values);
            return (Criteria) this;
        }

        public Criteria andOaIdNotIn(List<String> values) {
            addCriterion("OA_ID not in", values);
            return (Criteria) this;
        }

        public Criteria andOaIdBetween(String value1, String value2) {
            addCriterion("OA_ID between", value1, value2);
            return (Criteria) this;
        }

        public Criteria andOaIdNotBetween(String value1, String value2) {
            addCriterion("OA_ID not between", value1, value2);
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}